/*
 * $Author: isan.wong@gmail.com $
 * $Date: 2011-07-29 01:03:06 +0000 (Fri, 29 Jul 2011) $
 * $Rev: 13 $
 * $URL: http://capitalbio-smd.googlecode.com/svn/src/com/capitalbio/smd/gui/LoadingPane.java $
 */

package com.capitalbio.smd.gui;

import java.awt.BorderLayout;
import java.awt.Dimension;

import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.capitalbio.smd.base.Util;

/**
 * 载入动画
 * @author Wang Lei
 */
public class LoadingPane extends JPanel {
	private static final long serialVersionUID = 1L;
	protected Log log = LogFactory.getLog(this.getClass());
	
	public LoadingPane() {
		setBorder(new EmptyBorder(0, 0, 0, 0));
		setLayout(new BorderLayout());
		setPreferredSize(new Dimension(650, 500));
		
		JLabel loadingLabel = new JLabel(new ImageIcon(Util.getResourceURL("capitalbio_logo.png")));
		add(loadingLabel, BorderLayout.CENTER);
	}
}
